	var xmlHttp;

	function useAjax(params, useURL) {
		if (params.length != 0) { 
			useURL = useURL + "?" + params;
		}
		xmlHttp = GetXmlHttpObject();
		if (xmlHttp == null) {
			alert ("XMLHttp object not create!");
			return;
		} 
		xmlHttp.open("GET", useURL, true);
		xmlHttp.send(null);
		return true;
	} 	

	function GetXmlHttpObject() { 
		var objXMLHttp = null;
		if (window.XMLHttpRequest) {
			objXMLHttp = new XMLHttpRequest();
		} else if (window.ActiveXObject) {
			objXMLHttp = new ActiveXObject("Microsoft.XMLHTTP");
		}
		return objXMLHttp;
	} 